package com.juntuo.mapper;

import com.juntuo.entity.CertCdf;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

public interface CertCdfMapper extends Mapper<CertCdf> {

    List<Map<String,Object>> getCdfCertsByMainCertId(@Param("id") Integer id, @Param("number") String number, @Param("institution") Integer institutionCode, @Param("valid") Integer valid);

    List<CertCdf> getCdfCertsByNameAndCode( @Param("number") String number,@Param("institution")Integer institution);
}